package org.gis.mvc.view;

import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author gus
 */
public class PNGResultView extends ViewBase 
{
    
    @Override
    protected void doRender( Map model, HttpServletRequest request, HttpServletResponse response ) throws Exception
    {
        writer.write(response.getOutputStream());
    }

    public String getContentType()
    {
        return "image/png";
    }
}
